package gang.org.springframework.boot;

import gang.org.springframework.framework.context.GangConfigurableApplicationContext;

/**
 * 业务意义？
 * */
public interface GangSpringApplicationRunListener {


    default void starting(Object bootstrapContext){
        starting();
    }


    default void starting(){

    }

    default void contextLoaded(GangConfigurableApplicationContext context){

    }

    default void started(GangConfigurableApplicationContext context){

    }

    default void running(GangConfigurableApplicationContext context){

    }

    default void failed(GangConfigurableApplicationContext context, Throwable exception){

    }
}
